package com.dek.ssm.ch3.mapper;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import com.dek.ssm.ch3.pojo.Role;

public interface RoleMapper {
	public int insertRole(Role role);
	public int deleteRole(Long id) ;
	public int updateRole(Role role) ;
	public Role getRole(Long id) ;
	public List<Role> findRoles(String roleName);
	public List<Role> findRoles2(String note);
	public List<Role> findByRowBouds(RowBounds rowBounds);
}
